package com.tjj.demo.springboot.es.repository;

import com.tjj.demo.springboot.es.entity.EsBlog;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

public interface BlogESRepository extends ElasticsearchRepository<EsBlog, Integer> {
    List<EsBlog> findByTitle(String title);
}
